<template>
  <div class="container">
    <h1>欢迎来到ZSDN — 博客</h1>
    <el-button @click="onStart">进入首页</el-button>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();

const onStart = () => {
  router.push("/home");
};
</script>

<style scoped>
.welcome-page {
  height: 100vh;
  background-color: #f5f7fa;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
</style>
